<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">

    <!--toastr-->
    <link href="../css/plugins/toastr/toastr.min.css" rel="stylesheet"/>

    <!-- ztree -->
    <link rel="stylesheet" href="../css/plugins/zTree/zTreeStyle/zTreeStyle.css" type="text/css">

    <!--common.css-->
    <link href="../css/common.css" rel="stylesheet" type="text/css">

    <!--自定义css-->
    <link href="push_msg.css" rel="stylesheet">
</head>

<body>
<div class="wrapper wrapper-content content-margin">
    <div class="col-sm-6">
        <h3 class="text-center page-title">推送企业微信消息</h3>
        <form id="pushMsg" class="form-horizontal">
            <div class="form-group">
                <label class="col-sm-2 control-label">推送人</label>
                <div class="col-sm-10">
                    <input type="text" name="toUserIds"readonly="readonly" class="form-control">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">标题</label>
                <div class="col-sm-10">
                    <input type="text" name="title" class="form-control">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">内容</label>
                <div class="col-sm-10">
                    <textarea name="content" class="form-control" rows="3"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button class="btn btn-default">推送</button>
                </div>
            </div>
        </form>
    </div>
</div>

<!-- 推送人 -->
<div class="modal fade to-user-ids" id="toUserIds" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">推送人</h4>
            </div>
            <div class="modal-body">
                <div class="content_wrap">
                    <div class="search">
                        <form class="form-inline">
                            <div class="form-group">
                                <input type="text" class="form-control"/>
                            </div>
                            <button class="btn btn-primary">搜索</button>
                        </form>
                    </div>

                    <ul id="toUserIdsTree" class="ztree"></ul>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" id="select">选择</button>
            </div>
        </div>
    </div>
</div>

<!-- 全局js -->
<script src="../js/jquery.min.js?v=2.1.4"></script>
<script src="../js/bootstrap.min.js?v=3.3.6"></script>

<!--toastr-->
<script src="../js/plugins/toastr/toastr.min.js"></script>

<!-- zTree -->
<script type="text/javascript" src="../js/plugins/zTree/jquery.ztree.core.js"></script>
<script type="text/javascript" src="../js/plugins/zTree/jquery.ztree.excheck.js"></script>

<!--common.js-->
<script src="../js/common.js"></script>

<!-- 自定义js -->
<script src="push_msg.js"></script>

</body>

</html>
